package com.demo.xj_plane.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.demo.xj_plane.entity.XjSelfObsEntity;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface XjSelfObsMapper extends BaseMapper<XjSelfObsEntity> {
    List<XjSelfObsEntity> selectLatestData(@Param("cccc") String cccc);

    List<XjSelfObsEntity> selectLineData(@Param("cccc") String cccc, @Param("curDate") String curDate);

    List<XjSelfObsEntity> selectAllPlane(@Param("allXjPlaneList") List<String> allXjPlaneList);

    XjSelfObsEntity findPreviousData(@Param("cccc") String cccc, @Param("pointCode") String pointCode, @Param("dateTime") String dateTime);

    XjSelfObsEntity selectFourGridsData(@Param("cccc") String cccc, @Param("pointCode") String pointCode);
}
